package com.customer.crm.system.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.customer.crm.system.mapper.SystemUserRoleMapper;
import com.customer.crm.system.pojo.SystemUserRole;
import com.customer.crm.system.service.SystemUserRoleService;
import org.springframework.stereotype.Service;

/**
 * @author: zlq
 * @create : 2021/12/20
 */
@Service
public class SystemUserRoleServiceImpl extends ServiceImpl<SystemUserRoleMapper,SystemUserRole> implements SystemUserRoleService {
    @Override
    public boolean deleteUserRole(String userId) {
        return false;
    }

    @Override
    public Integer insertUserRole(String userId, String roleId) {
        return baseMapper.insertUserRole(userId, roleId);
    }
}
